<?php /* Smarty version Smarty-3.1.11, created on 2012-10-08 12:04:41
         compiled from "_templates\character\my.tpl" */ ?>
<?php /*%%SmartyHeaderCode:36645072a539363804-68977211%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a987b51e149532696a11ecab7e22328f01481b6b' => 
    array (
      0 => '_templates\\character\\my.tpl',
      1 => 1349677401,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '36645072a539363804-68977211',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'value' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5072a53946f3f7_68784542',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5072a53946f3f7_68784542')) {function content_5072a53946f3f7_68784542($_smarty_tpl) {?>
<article class="module width_full">
    <header><h3><?php echo $_smarty_tpl->getConfigVariable('title');?>
</h3></header>
	<table width="100%" cellpadding="3" cellspacing="1">
		<tr >
			<th align="left" class="header"><?php echo $_smarty_tpl->getConfigVariable('name');?>
</th>
			<th align="right" class="header"><?php echo $_smarty_tpl->getConfigVariable('action');?>
</th>
		</tr>
		<?php if (!empty($_smarty_tpl->tpl_vars['value']->value)){?>
		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['value']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>							
			<tr id="maininv_<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" style="background-color:<?php echo $_smarty_tpl->tpl_vars['item']->value['color'];?>
">
				<td align="left" class="body"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</td>
				<td align="right" class="body"><a href="index.php?mod=character&charID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" class="inv_button_<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"><img src="_images/icons/magnifier.png" alt="" /></a></td>
			</tr>
		<?php } ?>
		<?php }else{ ?>
			<tr>
				<td class="body" colspan="7"><?php echo $_smarty_tpl->getConfigVariable('nochars');?>
</td>
			</tr>
		<?php }?>
	</table>

</article><?php }} ?>